package com.hiquety.csv2sql.modal;

import com.hiquety.csv2sql.tool.FxmlUtils;
import com.hiquety.csv2sql.tool.FxmlBean;
import javafx.fxml.FXMLLoader;
import javafx.stage.Stage;

/**
 * @author hetong
 * @date 2020-05-04
 * @version 1.0
 */
public class IndexFxml {
   public static IndexUI ui;
   public static Stage stage;
   public static FXMLLoader fxmlLoader;

    static {
        FxmlBean load = FxmlUtils.loadFxml("fxml/index_ui.fxml");
        assert load != null;
        stage = load.getStage();
        stage.setTitle("csv2sql by titi");
        ui = (IndexUI) load.getController();
        fxmlLoader = load.getFxmlLoader();
    }
}
